package com.neusoft.neuiotms.dcom.service.malfunction;

import org.springframework.web.multipart.MultipartFile;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.file.dto.FileDTO;
import com.neusoft.neuiotms.dcom.dto.malfunction.MalfunctionApplyFormDTO;

public interface MalfunctionApplyFormService {

    MalfunctionApplyFormDTO create(MalfunctionApplyFormDTO dto, UserBean user);

    MalfunctionApplyFormDTO detail(String workNum, String taskId, UserBean user);

    void deleteByWorkNum(String workNum);

    FileDTO save(MultipartFile file);

    void deleteMongoFile(String fsId);

}
